#include "vector.h"
#include <vector>

template<class Container>
void Print(Container& con)
{
	for (auto e : con)
	{
		cout << e << " ";
	}
	cout << endl;

}



void test_vector1()
{
	song::vector<int> v1;
	v1.push_back(1);
	v1.push_back(2);
	v1.push_back(3);
	v1.push_back(4);
	v1.push_back(5);
	Print(v1);

}

void test_vector2()
{
	song::vector<int> v1;
	v1.push_back(1);
	v1.push_back(2);
	v1.push_back(3);
	v1.push_back(4);
	v1.push_back(5);

	song::vector<int> v2(v1);
	song::vector<int> v3 = { 1,2,3,4,5 };
	Print(v3);

	string s1("hello world");
	song::vector<int> v4(s1.begin(), s1.begin());
	Print(v4);

	song::vector<int> v5(10, 1);
	Print(v5);

	//song::vector<size_t> v6(10, 1);
	song::vector<size_t> v7(10, 1);
	//Print(v6);

}



int main()
{
	test_vector2();
}

